package com.ruoyi.common.entity.VO.shop;

import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

@Data
public class ShopApplyVO {
    private Long parentId;
    private Long memberId;
    @NotNull(message = "请填写姓名！")
    private String applicantName;
    @NotNull(message = "请填写联系电话！")
    @Pattern(regexp = "^[1]([3-9])[0-9]{9}$", message = "请输入正确的手机号")
    private String applicantPhone;
//    @NotNull(message = "请填写邮箱！")
    @Email(message = "请输入正确的邮箱")
    private String applicantEmail;

}
